﻿@if (Request.IsAuthenticated)
{
    <li>@Html.ActionLink("Manage", "Manage", "Account", routeValues: null,
        htmlAttributes: new { @class = "username", title = "Manage" })
    </li>   
    <li>
        @Html.ActionLink("Log Off", "LogOffMobile", "Account")
    </li>   
}
else
{
    if (System.Web.Configuration.WebConfigurationManager.AppSettings["RegistoAutorizado"].AsBool() == true)
    {
    <li>@Html.ActionLink("Registar", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })</li>
    }
    <li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>

    <li>@Html.ActionLink("Recuperar Password", "ResetPassword", "Account")</li>   
}
